package com.jic.purchase.model.vo.request;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
@Data
@NoArgsConstructor
@ApiModel(description = " 合同和商品的关联表实体类")
public class PurchaseContractProductRelRequest extends BaseEntityRequest {
	private static final long serialVersionUID = 1L;
    // @NotEmpty(message = "") 
    @ApiModelProperty(notes = "")

    private Long id;
    // @NotEmpty(message = "合同编码") 
    @ApiModelProperty(notes = "合同编码")

    private Long contractCode;
    // @NotEmpty(message = "商品编码") 
    @ApiModelProperty(notes = "商品编码")

    private String productCode;
    // @NotEmpty(message = "业务类型：1-采购单；2-代销单；3-经销单；") 
    @ApiModelProperty(notes = "业务类型：1-采购单；2-代销单；3-经销单；")

    private Integer busiType;
    // @NotEmpty(message = "根据业务类型不同，存入不同类型的编号，如果是采购单，则存采购单编码；") 
    @ApiModelProperty(notes = "根据业务类型不同，存入不同类型的编号，如果是采购单，则存采购单编码；")

    private String busiCode;
    // @NotEmpty(message = "供应商编码") 
    @ApiModelProperty(notes = "供应商编码")

    private String supplierCode;
    // @NotEmpty(message = "供应商名称") 
    @ApiModelProperty(notes = "供应商名称")

    private String supplierName;
    // @NotEmpty(message = "采购数量") 
    @ApiModelProperty(notes = "采购数量")

    private Integer purchaseNum;
    // @NotEmpty(message = "交易币别,CNY-人民币;USD-美元....") 
    @ApiModelProperty(notes = "交易币别,CNY-人民币;USD-美元....")

    private String tradeCurrency;
    // @NotEmpty(message = "商品计量单位") 
    @ApiModelProperty(notes = "商品计量单位")

    private String productUnit;
    // @NotEmpty(message = "对人命币汇率，精确到7位小数；如果值小于1，只存纯小数，不存带百分值,例如越南盾兑人民币，则存0.0003068；不允许存0.03068%的分子0.03068；") 
    @ApiModelProperty(notes = "对人命币汇率，精确到7位小数；如果值小于1，只存纯小数，不存带百分值,例如越南盾兑人民币，则存0.0003068；不允许存0.03068%的分子0.03068；")

    private BigDecimal exchangeRate;
    // @NotEmpty(message = "含税金额；精确4位小数；") 
    @ApiModelProperty(notes = "含税金额；精确4位小数；")

    private BigDecimal amountWithTax;
    // @NotEmpty(message = "未税采购价") 
    @ApiModelProperty(notes = "未税采购价")

    private BigDecimal amountWithoutTax;
    // @NotEmpty(message = "创建人Id") 
    @ApiModelProperty(notes = "创建人Id")

    private Integer realDeliveryNum;
    // @NotEmpty(message = "实际收货量") 
    @ApiModelProperty(notes = "实际收货量")

    private Integer realRecievedNum;
    // @NotEmpty(message = "商品名称") 
    @ApiModelProperty(notes = "商品名称")

    private String productName;
    // @NotEmpty(message = "商品条码（条形码）") 
    @ApiModelProperty(notes = "商品条码（条形码）")

    private String productBarNo;
    // @NotEmpty(message = "商品规则") 
    @ApiModelProperty(notes = "商品规则")

    private String productSize;
    // @NotEmpty(message = "转换率") 
    @ApiModelProperty(notes = "转换率")

    private BigDecimal transferRate;
    // @NotEmpty(message = "税率") 
    @ApiModelProperty(notes = "税率")

    private BigDecimal taxRate;
    // @NotEmpty(message = "起订量") 
    @ApiModelProperty(notes = "起订量")

    private Integer minNum;
    // @NotEmpty(message = "最大定量") 
    @ApiModelProperty(notes = "最大定量")

    private Integer maxNum;
    // @NotEmpty(message = "运输方式（1-铁路；2-空运；3-公路；4-河运；5-海运；6-其他）") 
    @ApiModelProperty(notes = "运输方式（1-铁路；2-空运；3-公路；4-河运；5-海运；6-其他）")

    private Integer transportType;
    // @NotEmpty(message = "是否包邮：0-不含；1-包含；") 
    @ApiModelProperty(notes = "是否包邮：0-不含；1-包含；")

    private Integer hasTransportPrice;
    // @NotEmpty(message = "运费") 
    @ApiModelProperty(notes = "运费")

    private BigDecimal transportPrice;
    // @NotEmpty(message = "原税率") 
    @ApiModelProperty(notes = "原税率")

    private BigDecimal originTaxRate;
    // @NotEmpty(message = "原不含税价格；") 
    @ApiModelProperty(notes = "原不含税价格；")

    private BigDecimal originAmountWithoutTax;
    // @NotEmpty(message = "原含税价格；") 
    @ApiModelProperty(notes = "原含税价格；")

    private BigDecimal originAmountWithTax;
    // @NotEmpty(message = "原起订量") 
    @ApiModelProperty(notes = "原起订量")

    private Integer originMinNum;
    // @NotEmpty(message = "原最大订货量") 
    @ApiModelProperty(notes = "原最大订货量")

    private Integer originMaxNum;
    // @NotEmpty(message = "原运输方式（1-铁路；2-空运；3-公路；4-河运；5-海运；6-其他）") 
    @ApiModelProperty(notes = "原运输方式（1-铁路；2-空运；3-公路；4-河运；5-海运；6-其他）")

    private Integer originTransportType;
    // @NotEmpty(message = "原是否包含运费(0-不含；1-包含)") 
    @ApiModelProperty(notes = "原是否包含运费(0-不含；1-包含)")

    private Integer originHasTransportPrice;
    // @NotEmpty(message = "状态") 
    @ApiModelProperty(notes = "状态")

    private Integer status;

    private Object[] arrs;
    private Object[] arr;

    @ApiModelProperty(notes = "退货单商品")
    private String products;
}
